import Vue from 'vue'

import router from './router/index.js'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import wCatalogs from './components/w-catalogs'
import instance from './utils/request.js' //axios 封装
Vue.config.productionTip = false
Vue.prototype.$axios=instance //全局变量 应用级
Vue.component("w-catalogs",wCatalogs)//应用级
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
